import 'package:flutter/material.dart';
import 'package:voice_flip_clock/theme/app_theme.dart';

import '../settings_page.dart';

class SettingsButtons extends StatelessWidget {
  const SettingsButtons({super.key});

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        Positioned(
          right: 24,
          bottom: 24,
          child: IconButton(
            icon: Icon(Icons.settings, color: AppTheme.digitColor, size: 28),
            onPressed: () {
              // 处理设置按钮点击
              Navigator.push(
                context,
                MaterialPageRoute(builder: (context) => const SettingsPage()),
              );
            },
          ),
        ),
        // Positioned(
        //   left: 24,
        //   bottom: 24,
        //   child: IconButton(
        //     icon: Icon(Icons.tune, color: AppTheme.digitColor, size: 28),
        //     onPressed: () {
        //       // 处理底部设置按钮点击
        //     },
        //   ),
        // ),
        // Positioned(
        //   right: 24,
        //   top: 24,
        //   child: IconButton(
        //     icon: Icon(Icons.queue_music_rounded, color: AppTheme.digitColor, size: 28),
        //     onPressed: () {
        //       // 处理底部设置按钮点击
        //     },
        //   ),
        // ),
      ],
    );
  }
} 